<?php //debug($ordeneDuplicados);   ?>
<div class="grid12">
    <div class="widget">
        <div class="whead"><h6>Detalle de la orden</h6><div class="clear"></div></div>            
    <table cellpadding="0" cellspacing="0" width="100%" class="tAlt">    
        <tr>
            <td><b>DUPLICADOS</b></td>
            <td><b>P.O.</b></td>
        </tr>
        <?php foreach($ordeneDuplicados as $od): ?>
        <?php if($od['0']['cant'] >= 2): ?>
        <tr>
            <td><?php echo $od['0']['cant']; ?></td>
            <td><?php echo $od['ordenes']['nombre']; ?></td>           
        </tr>
        <?php else: ?>
            
        <?php endif; ?>
        <?php endforeach; ?>
</table>
</div> 
    </div>       
<div class="actions-right">
    <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Ordenes', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>